//
//  OBControl.h
//  WeChat
//
//  Created by 黄柳姣 on 2018/5/3.
//  Copyright © 2018年 obally. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YYGestureRecognizer.h"
@interface OBControl : UIView
///图片
@property (nonatomic,readwrite,strong) UIImage *image;
///点击回调
@property(nonatomic,readwrite,copy) void (^touchBlock)(OBControl *view, YYGestureRecognizerState state, NSSet *touches, UIEvent *event);
/// 长按回调
@property (nonatomic, readwrite, copy) void (^longPressBlock)(OBControl *view, CGPoint point);
@end
